﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddCommentNew.aspx.cs" Inherits="PowerCreator.LMS.WebPage.Comment.AddCommentNew" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <script language="javascript" type="text/javascript">
    function OnValueChange()
    {
//       var vObj=findFrame(window.parent.MainFrame);
//                vObj.MediaPlayer.Controls.Pause();
//                //var cu = window.ffMain.LeftupFrame.MediaPlayer.Controls.currentPosition;
//                var cu =  vObj.MediaPlayer.Controls.currentPosition;
//   window.document.form1.txtPlaytime.Value=cu;
//   window.document.form1.txtContent.Value="";
    }
    function CheckMyForm()
    {
        window.close();        
    }
    </script>
    <script language="javascript" for="window" event="onbeforeunload">    
        var win = window.dialogArguments;
        win.parent.MainFrame.LeftupFrame.MediaPlayer.Controls.Play();
        win.parent.Evaluation.location.reload(); 
    </script>
</head>
<body class="bodymain">
    <form id="form1" runat="server" target="win_test">
        <br />
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="talbe-rearch" >

            <tr>
                <td>
                    <textarea name="txtContent" id="txtContent"  cols="52" rows="6" maxlength="1000" value="评论内容" runat="server" onclick="OnValueChange()"></textarea>
                    
                    &nbsp;
                    <%--<input id="txtPlaytime" type="hidden" runat="server" />--%>
                    </td>
            </tr>
            <tr>
                <td class="btncenter">
                    <asp:Button ID="btnSave" runat="server" CssClass="mybuttons" Text="评论一下" OnClientClick="CheckMyForm()"   OnClick="btnSave_Click" />                    
                    </td>
            </tr>
        </table>
    </form>
    <BASE target="_self" />
</body></html>
